package com.ruipengkj.component;

public class JComboBoxPOJO {

	private int id;
	
	private String idStr;
	
	private String name;
	
	private Object object;

	public JComboBoxPOJO(int id,String name,Object object){
		this.id=id;
		this.name=name;
		this.object=object;
	}
	public JComboBoxPOJO(String idStr,String name,Object object){
		this.idStr=idStr;
		this.name=name;
		this.object=object;
	}
	
	public JComboBoxPOJO(String name){
		this(0,name,null);
		this.name=name;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public String getIdStr() {
		return idStr;
	}
	public void setIdStr(String idStr) {
		this.idStr = idStr;
	}
	@Override
	public String toString() {
		return this.name;
	}
}
